from django.core.files.storage import Storage
class FastDFSStorage(Storage):
    def _open(self):
        pass
    def _save(self):
        pass
    def url(self,name):
        # 拼接图片路径
        return 'http://192.168.31.129:8888/'+name